package com.yanti.domain.entity;

import java.time.LocalDateTime;
import java.util.Date;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 权限表(Permission)表实体类
 *
 * @author luo
 * @since 2025-04-10 15:14:43
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("permission")
public class Permission  {
    //主键ID
    @TableId
    private Long id;

    //父ID
    private Long parentId;
    //权限名称
    private String name;
    //类型(1：目录 2：菜单 3：按钮)
    private Integer type;
    //菜单路由
    private String menuUrl;
    //菜单图标
    private String menuIcon;
    //管理系统中的显示顺序
    private Long sort;
    //权限标识
    private String permissionKey;
    //状态(0：启用；1：禁用)
    private Integer status;
    //创建时间
    private LocalDateTime createTime;
    //更新时间
    private LocalDateTime updateTime;
    //逻辑删除(0：未删除 1：已删除)
    private Boolean isDeleted;



}

